package com.hrbxlh.virtualization.param;

import org.apache.commons.lang3.StringUtils;

/**
 * @author cheer
 */
public class ContainerQueryParam {

    /**
     * 班级名称
     * 模糊查询
     */
    private String className;

    /**
     * 课程名称
     * 模糊查询
     */
    private String courseName;

    /**
     * 容器所有者名称
     * 模糊查询
     */
    private String stuorteaName;

    /**
     * 教师Id
     * 查询教师所教的所有学生的容器
     */
    private String teacherId;

    /**
     * 班级Id
     * 查询班级下所有学生的容器
     */
    private Integer classId;

    public void trimToNull() {
        className = StringUtils.trimToNull(className);
        courseName = StringUtils.trimToNull(courseName);
        stuorteaName = StringUtils.trimToNull(stuorteaName);
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getStuorteaName() {
        return stuorteaName;
    }

    public void setStuorteaName(String stuorteaName) {
        this.stuorteaName = stuorteaName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

}
